#pragma once

struct shader_t
{
	stringhash name;
	uint32 programid;
//	uint32 globaldataid;

	void generate(const string& path);
	void set();

	uint32 gethashkey() const
	{
		return name.value;
	}

	~shader_t();

	shader_t* nextinhashmap;
};